/*
 * @Author: Jone XIn
 * @Date: 2022-02-05 23:10:51
 * @LastEditTime: 2022-02-06 01:36:29
 * @Description: mode data
 */
import { DataTypes, Model, Op } from 'sequelize';

// userMod
export const userModelData = {
    uid: {
        autoIncrement: true,
        type: DataTypes.INTEGER,
        allowNull: false,
        primaryKey: true
    },
    name: {
        type: DataTypes.STRING,
        allowNull: true,
    },
    age: {
        type: DataTypes.INTEGER,
        allowNull: true,
    },
    addr: {
        type: DataTypes.STRING,
        allowNull: true,
    },
    phone: {
        type: DataTypes.INTEGER,
        allowNull: true,
    },
}


// ...otherMod